/********************************************************/
/*	Copyright (C) 2016 Gong Li Bin			*/
/*	Project:	GlbCloud			*/
/*	Author:		gong_libin			*/
/*	Date:		2012_01_29			*/
/*	File:		MrLog.h				*/
/********************************************************/

#ifndef	_MRLOG_H
#define	_MRLOG_H

#include "MrGlobal.h"

class CMrLog
{
public:
	CMrLog();
	virtual ~CMrLog();

	void MrLogFlush();
	void MrLogClose();
	int MrLogOpen(char* pszLog, char* pszMode);
	UINT MrLogRead(char* pszLine, UINT uiLength);
	UINT MrLogWrite(char* pszLine, UINT uiLength);

private:
	FILE* m_pstLog;

};

#endif /* _MRLOG_H */
